package com.hanson.mapper;

import com.hanson.entity.UserShareBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserShareBeanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserShareBean record);

    UserShareBean selectByPrimaryKey(Integer id);

    List<UserShareBean> selectAll();

    int updateByPrimaryKey(UserShareBean record);

    List<UserShareBean> selectByOpenIdAndGoodsId(@Param("openId") String openId, @Param("goodsId") Integer goodsId);
}